package morning.cat;

import feign.Feign;
import morning.cat.client.HelloClient;
import morning.cat.service.UrlService;

/**
 * @describe: 类描述信息
 * @author: morningcat.zhang
 * @date: 2019/6/4 1:43 PM
 */
public class HelloTest {

    public static void main(String[] args) {
        // 调用Hello接口
        HelloClient hello = Feign.builder().target(HelloClient.class,
                UrlService.SERVER_URL);

        System.out.println(hello.sayHello());
    }
}
